.class Lcom/estrongs/android/pop/utils/p$z$h;
.super Ljava/lang/Object;
.source "FileOperateUtils.java"

# interfaces
.implements Les/y80;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/utils/p$z;->a(Les/sp;Ljava/util/List;ZZLes/z80;ZZZ)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Z

.field final synthetic b:Ljava/util/List;

.field final synthetic c:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/utils/p$z;ZLjava/util/List;Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-boolean p2, p0, Lcom/estrongs/android/pop/utils/p$z$h;->a:Z

    iput-object p3, p0, Lcom/estrongs/android/pop/utils/p$z$h;->b:Ljava/util/List;

    iput-object p4, p0, Lcom/estrongs/android/pop/utils/p$z$h;->c:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/s80;Z)V
    .locals 9

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p2

    if-eqz p2, :cond_0

    .line 2
    invoke-virtual {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->D0()V

    .line 3
    :cond_0
    iget-boolean v0, p0, Lcom/estrongs/android/pop/utils/p$z$h;->a:Z

    if-eqz v0, :cond_1

    .line 4
    new-instance v0, Lcom/estrongs/android/pop/utils/p$z$h$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/utils/p$z$h$a;-><init>(Lcom/estrongs/android/pop/utils/p$z$h;)V

    invoke-virtual {p2, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Lcom/estrongs/android/util/z;)V

    .line 5
    :cond_1
    invoke-virtual {p1}, Les/s80;->l()Les/u80;

    move-result-object v0

    iget v0, v0, Les/u80;->a:I

    const/16 v1, 0x11

    if-ne v0, v1, :cond_2

    .line 6
    new-instance v0, Lcom/estrongs/android/pop/utils/p$z$h$b;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/pop/utils/p$z$h$b;-><init>(Lcom/estrongs/android/pop/utils/p$z$h;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    invoke-virtual {p2, v0}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 7
    :cond_2
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/p$z$h;->b:Ljava/util/List;

    invoke-static {p2}, Lcom/estrongs/android/pop/utils/p;->c(Ljava/util/List;)Ljava/lang/String;

    move-result-object v4

    const-wide/16 v2, 0x0

    .line 8
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/p$z$h;->b:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    move-wide v6, v2

    :goto_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    .line 9
    invoke-interface {v0}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v2

    add-long/2addr v6, v2

    goto :goto_0

    .line 10
    :cond_3
    invoke-virtual {p1}, Les/s80;->l()Les/u80;

    move-result-object p2

    iget p2, p2, Les/u80;->a:I

    if-ne p2, v1, :cond_4

    .line 11
    iget-object v3, p0, Lcom/estrongs/android/pop/utils/p$z$h;->c:Ljava/lang/String;

    const/4 v5, 0x0

    const/16 v8, 0x11

    const-string v2, "delete"

    invoke-static/range {v2 .. v8}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJI)V

    goto :goto_2

    .line 12
    :cond_4
    iget-object v3, p0, Lcom/estrongs/android/pop/utils/p$z$h;->c:Ljava/lang/String;

    .line 13
    invoke-virtual {p1}, Les/s80;->m()I

    move-result p2

    const/4 v0, 0x4

    if-ne p2, v0, :cond_5

    const/4 p2, 0x1

    const/4 v5, 0x1

    goto :goto_1

    :cond_5
    const/4 p2, 0x0

    const/4 v5, 0x0

    .line 14
    :goto_1
    invoke-virtual {p1}, Les/s80;->l()Les/u80;

    move-result-object p1

    iget v8, p1, Les/u80;->a:I

    const-string v2, "delete"

    .line 15
    invoke-static/range {v2 .. v8}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJI)V

    :goto_2
    return-void
.end method
